package com.rs.caht.netty.custom.rpc.server;

public class HelloNettyImpl implements HelloNetty {
    @Override
    public String hello() {
        return "hello,netty";
    }

    @Override
    public String hai(String type) {
        if ("1".equals(type)) {
            return "haihai1";
        } else if ("2".equals(type)) {
            return "haihai2";
        }
        return "甚也没有";
    }
}
